package com.gp.dal.model;


/**
 * 性别枚举
 * @author ThinkPad
 *
 */
public enum SexEnum implements IEnum{
	
	MAN(1, "男"), WOMAN(2, "女");	
	
	private Integer key;  
      
	private String value;  
      
    private SexEnum(int code, String value) {  
        this.key = new Integer(code);  
        this.value = value;  
    }  
       
    public Integer getCode() {  
      
        return key;  
    }        
    public String getDescription() {  
      
        return value;  
    }


	public int getKey() {
		return key;
	}


	public void setKey(int key) {
		this.key = key;
	}


	public String getValue() {
		// TODO Auto-generated method stub
		return value;
	}


	public void setValue(String value) {
		this.value = value;
	}  
}